﻿/// <summary>
/// 游戏配置
/// </summary>

using XLua;

namespace Al_FrameWork
{
    [LuaCallCSharp]
    public class GameConfig
    {
        //更新路径
        public static string UpdateUrl = "http://192.168.0.112:8888/";

        //开启日志显示
        public static bool isOpenLog = false;

        public const string LuaScriptsFolder = "LuaScripts";

        public const string TexturesFolder = "Textures";

        public const string AssetBundlesFolderName = "AssetBundles";

        public const string AssetsFolderName = "AssetBundles";
        
        public const string AssetBundleSuffix = ".assetbundle";

        public const string AssetsPathMapFileName = "AssetsMap.bytes";

        public const char CommonMapPattern = '|';
        /// <summary>
        /// 下载完成后修改的文件名
        /// </summary>
        public const string ABCompareInfo = "ABCompareInfo.txt";
        /// <summary>
        /// 下载到本地的文件名
        /// </summary>
        public const string ABCompareTempInfo = "ABCompareInfo_Temp.txt";
        
        /// <summary>
        /// luaAB报名字
        /// </summary>
        public const string LuaAssetBundleName = "luascripts.assetbundle";
        /// <summary>
        /// 场景AB包名字
        /// </summary>
        public const string SceneAssetBundleName = "scenes.assetbundle";
        /// <summary>
        /// 所有纹理
        /// </summary>
        public const string TexturesAssetBundleName = "textures.assetbundle";
        /// <summary>
        /// 下载失败重试次数
        /// </summary>
        public const int downloadFailCount = 3;


    }
}